package main

import "sync"

type counter struct {
    mu           sync.RWMutex
    Durations    map[int]int64   //return code  count
    Counts       map[int]int64   //return code  count
    RoutedCounts map[string]map[int]int64    //serid  return code  count
    RoutedDurations map[string]map[int]int64  //serid  return code  count   -1 means canceled  0 means timeout
}


